#!/bin/sh
 
if [ `which aoss` ]; then
	if [ -f /usr/local/tce.installed/terminology ]; then
		terminology -T="$@" -e="aoss mplayer -quiet -shuffle  -softvol \"$@\""
	else
		xterm -T "$@" -e aoss mplayer -quiet -shuffle  -softvol "$@"
	fi
else
	if [ -f /usr/local/tce.installed/terminology ]; then
		terminology -T="$@" -e="mplayer -quiet -shuffle  -softvol \"$@\""
	else
		xterm -T "$@" -e mplayer -quiet -shuffle  -softvol "$@"
	fi
fi
